package nuc.soft.xsf.dao.impl;

import nuc.soft.xsf.dao.IReportDao;
import nuc.soft.xsf.dao.impl.base.BaseDaoImpl;
import nuc.soft.xsf.model.Report;

public class ReportDaoImpl extends BaseDaoImpl<Report> implements IReportDao{

	public ReportDaoImpl() {
		  super.setNameSpace("nuc.soft.xsf.mapper.ReportMapper");
		  }
	
    public int insert(Report report){
    	this.getSqlSession().insert("nuc.soft.xsf.mapper.ReportMapper" + ".insert", report);
		int id=report.getReportId();
		return id;
    }
}
